package com.ansatsing.decorator.coffee.condiment;

import com.ansatsing.decorator.Beverage;
import com.ansatsing.decorator.CondimentDecorator;
/**
 * 摩卡调料
 * @author sunyq
 *
 */
public class Mocha extends CondimentDecorator {
	Beverage beverage;
	 
	public Mocha(Beverage beverage) {
		this.beverage = beverage;
	}
	@Override
	public String getDescription() {
		return beverage.getDescription() + ", Mocha";
	}

	@Override
	public double cost() {
		return .20 + beverage.cost();
	}

}
